<?php

ini_set('display_errors', 1);
require_once '/data/wwwroot/g_vendor/autoload.php';

$uid = $argv[1] ?? 0;

$list = \Doraemon\service\Task\Task::getTaskList($uid, \Doraemon\model\Task\TaskGroup::CHANNEL_BRAND_SERVICE);
$api = \Doraemon\service\Task\Task::getBrandTaskLIst($uid);

var_dump($list);

var_dump($api);